for i in range(5):
    print(i)
    for j in range(3):
        if j == 2:
            i = 5
            break